package com.example.flowable.model;

import com.example.db.annotations.ID;
import com.example.db.annotations.Table;
import com.example.db.annotations.TableField;

import java.util.Date;

/**
 * @Classname FlowableModel
 * @Description TODO
 * @Date 2022/8/15 11:57
 * @Created by XiongXiong
 * @Author: X.I.O
 */
@Table("sys_flowable_model")
public class FlowableModel {

    @ID
    private Integer id;
    @TableField("name")
    private String name;
    @TableField("processdefid")
    private String processdefid;
    @TableField("processdefname")
    private String processdefname;
    @TableField("processdefkey")
    private String processdefkey;
    @TableField("processdefversion")
    private String processdefversion;
    @TableField("xml")
    private String xml;
    @TableField("status")
    private boolean status;
    @TableField("createdate")
    private Date createdate;
    @TableField("fromId")
    private Integer fromId;

    public Integer getFromId() {
        return fromId;
    }

    public void setFromId(Integer fromId) {
        this.fromId = fromId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProcessdefid() {
        return processdefid;
    }

    public void setProcessdefid(String processdefid) {
        this.processdefid = processdefid;
    }

    public String getProcessdefname() {
        return processdefname;
    }

    public void setProcessdefname(String processdefname) {
        this.processdefname = processdefname;
    }

    public String getProcessdefkey() {
        return processdefkey;
    }

    public void setProcessdefkey(String processdefkey) {
        this.processdefkey = processdefkey;
    }

    public String getProcessdefversion() {
        return processdefversion;
    }

    public void setProcessdefversion(String processdefversion) {
        this.processdefversion = processdefversion;
    }

    public String getXml() {
        return xml;
    }

    public void setXml(String xml) {
        this.xml = xml;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }
}
